<html>
<head>
    <meta charset="utf-8">

    <link href="__CSS__bootstrap.min.css" type="text/css" rel="stylesheet">
    <link href="__CSS__index.css" type="text/css" rel="stylesheet">
    <script src="__JS__jquery-3.1.1.min.js"></script>
    <script src="__JS__bootstrap.min.js"></script>
</head>
<body>
<!--导航栏start-->
<!--<include file="Public:header" />-->
{:W('Menu/header')}
<!--导航栏end-->

<!--菜单栏start-->
<!--<include file="Public:left" />-->
{:W('Menu/left')}
<!--菜单栏end-->

<ol class="breadcrumb col-sm-9 col-md-10">
    <li><a href="index">组件管理</a></li>
    <li class="active">日记管理</li>
</ol>

<div class="panel panel-default col-sm-9 col-md-10">
    <div class="panel-body">
        <!--一遍博文介绍-->
        <span class="col-sm-12 col-md-12" style="margin: 0.2em auto;">
            <a href="__CONTROLLER__/pdadd" class="btn btn-default">添加日记</a>
        </span>
        <table class="table table-striped col-sm-12 col-md-12">
            <tr>
                <td>ID</td>
                <td>标签名</td>
                <td>时间</td>
                <td>内容</td>
                <td>修改标签</td>
                <td>删除标签</td>
            </tr>
            <volist name="list" id="vo">
                <tr>
                    <td>{$vo.id}</td>
                    <td>{$vo.title}</td>
                    <td>{$vo.time}</td>
                    <td>{$vo.content}</td>
                    <td>
                        <a href="__ADMIN__Component/pdupd/type/1/id/{$vo.id}" style="color:aliceblue;">
                            <button type="button" class="btn btn-danger" >修改</button>
                        </a>
                    </td>
                    <td>
                        <a onclick= "if(confirm( '是否确定！ ')==false)return   false; " href="__ADMIN__Component/pddel/id/{$vo.id}" style="color:aliceblue;">
                            <button type="button" class="btn btn-danger" >删除</button>
                        </a>
                    </td>
                </tr>
            </volist>
        </table>

    </div>
</div>


</body>
</html>